package com.tz.yiqingapp.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class YimiaoOrderInfo {


    long id;
    long uid;
    long hid;
    LocalDate orderdate;

    Hosptial hosptial;
    User user;

    public YimiaoOrderInfo(YimiaoOrder yimiaoOrder){
        this.id = yimiaoOrder.getId();
        this.uid =yimiaoOrder.getUid();
        this.hid = yimiaoOrder.getHid();
        this.orderdate = yimiaoOrder.getOrderdate();
    }
}
